Skip to content

Conversation

@RossWilliams
Copy link
Contributor

Issue

#6960

Description

Passes through credentials parameter object when wrapping the credential provider

Testing

Minimal reproduction example in linked issue

Additional context

Fixes inadvertent behaviour change. Issue recently rolled out into bundled Lambda runtime.

Checklist

  • If you wrote E2E tests, are they resilient to concurrent I/O?
  • If adding new public functions, did you add the @public tag and enable doc generation on the package?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@RossWilliams RossWilliams requested a review from a team as a code owner March 22, 2025 12:51
@RossWilliams
Copy link
Contributor Author

The types in Smithy-lang/smithy-typescript here could also be tightened to require the first parameter so that it does not get accidentally invoked without passing it in. This is probably important in the aws-sdk-js-v3 codebase that does a lot of layering.

Copy link
Contributor

@kuhe kuhe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks right as a fix.

@trivikr trivikr merged commit 3f9fdc0 into aws:main Mar 22, 2025
4 checks passed
@github-actions
Copy link

github-actions bot commented Apr 6, 2025

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants